package top.lc951.myglide.module;

import android.content.Context;
import android.support.annotation.NonNull;

import top.lc951.myglide.GlideBuilder;

public abstract class AppGlideModule extends LibraryGlideModule implements AppliesOptions{
    /**
     * Returns {@code true} if Glide should check the AndroidManifest for {@link GlideModule}s.
     *
     * <p>Implementations should return {@code false} after they and their dependencies have migrated
     * to Glide's annotation processor.
     *
     * <p>Returns {@code true} by default.
     */
    public boolean isManifestParsingEnabled() {
        return true;
    }

    @Override
    public void applyOptions(@NonNull Context context, @NonNull GlideBuilder builder) {
        // Default empty impl.
    }
}
